Part Number Hot Search : 
10051 SUF4003 5N120 10311 0015477 10100 LRD260 EPA3296S
Product Description
Full Text Search
 

To Download ADSP-21MOD870-000 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 a
FEATURES PERFORMANCE Complete Single-Chip Internet Gateway Processor (No External Memory Required) Implements V.34/V.90 Data/FAX Modem Including Controller and Datapump 19 ns Instruction Cycle Time @ 3.3 V, 52 MIPS Sustained Performance Open Architecture Platform Extensible to Voice Over IP and Other Applications Low Power Dissipation, 80 mW (Typical) for Digital Modem Power-Down Mode Featuring Low CMOS Standby Power Dissipation INTEGRATION ADSP-2100 Family Code Compatible, with Instruction Set Extensions 160K Bytes of On-Chip RAM, Configured as 32K Words On-Chip Program Memory RAM and 32K Words OnChip Data Memory RAM Dual Purpose Program Memory for Both Instruction and Data Storage Independent ALU, Multiplier/Accumulator and Barrel Shifter Computational Units Two Independent Data Address Generators Powerful Program Sequencer Provides Zero Overhead Looping Conditional Instruction Execution Programmable 16-Bit Interval Timer with Prescaler 100-Lead LQFP with 0.4 Square Inch (256 mm2) Footprint SYSTEM INTERFACE 16-Bit Internal DMA Port for High Speed Access to OnChip Memory (Mode Selectable) Two Double-Buffered Serial Ports with Companding Hardware and Automatic Data Buffering Programmable Multichannel Serial Port Supports 24/32 Channels Automatic Booting of On-Chip Program Memory Through Internal DMA Port Six External Interrupts 13 Programmable Flag Pins Provide Flexible System Signaling ICE-PortTM Emulator Interface Supports Debugging in Final Systems
Internet Gateway Processor ADSP-21mod870
FUNCTIONAL BLOCK DIAGRAM
POWER-DOWN CONTROL DATA ADDRESS GENERATORS DAG 1 DAG 2 MEMORY
PROGRAM SEQUENCER 16K 24 PM 8K 24 OVERLAY 1 8K 24 OVERLAY 2 16K 16 DM 8K 16 OVERLAY 1 8K 16 OVERLAY 2 PROGRAMMABLE I/O AND FLAGS
FULL MEMORY MODE EXTERNAL ADDRESS BUS EXTERNAL DATA BUS BYTE DMA CONTROLLER
PROGRAM MEMORY ADDRESS DATA MEMORY ADDRESS PROGRAM MEMORY DATA
OR
DATA MEMORY DATA
EXTERNAL DATA BUS ARITHMETIC UNITS ALU MAC SHIFTER SERIAL PORTS SPORT 0 SPORT 1 TIMER INTERNAL DMA PORT HOST MODE
ADSP-2100 BASE ARCHITECTURE
GENERAL DESCRIPTION
The ADSP-21mod870 is a single-chip Internet gateway processor optimized for implementation of a complete V.34/56K modem. All data pump and controller functions can be implemented on a single chip, offering the lowest power consumption and highest possible modem port density. The ADSP-21mod870, shown in the Functional Block Diagram, combines the ADSP-2100 family base architecture (three computational units, data address generators and a program sequencer) with two serial ports, a 16-bit internal DMA port, a byte DMA port, a programmable timer, Flag I/O, extensive interrupt capabilities and on-chip program and data memory. The ADSP-21mod870 integrates 160K bytes of on-chip memory configured as 32K words (24-bit) of program RAM, and 32K words (16-bit) of data RAM. Power-down circuitry is also provided to meet the low power needs of battery operated portable equipment. The ADSP-21mod870 is available in 100-lead LQFP package. Fabricated in a high speed, low power, CMOS process, the ADSP-21mod870 operates with a 19 ns instruction cycle time. Every instruction can execute in a single processor cycle. The ADSP-21mod870's flexible architecture and comprehensive instruction set allow the processor to perform multiple operations in parallel. In one processor cycle the ADSP-21mod870 can: * * * * * Generate the next program address Fetch the next instruction Perform one or two data moves Update one or two data address pointers Perform a computational operation
ICE-Port is a trademark of Analog Devices, Inc. All other trademarks are the property of their respective holders.
REV. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 World Wide Web Site: http://www.analog.com Fax: 781/326-8703 (c) Analog Devices, Inc., 1999
ADSP-21mod870
This takes place while the processor continues to: * Receive and transmit data through the two serial ports * Receive and/or transmit data through the internal DMA port * Receive and/or transmit data through the byte DMA port * Decrement timer
Modem Software
requires fewer mechanical clearance considerations than other ADSP-2100 Family EZ-ICEs. The ADSP-21mod870 device need not be removed from the target system when using the EZICE, nor are any adapters needed. Due to the small footprint of the EZ-ICE connector, emulation can be supported in final board designs. The EZ-ICE performs a full range of functions, including: * In-target operation * Up to 20 breakpoints * Single-step or full speed operation * Registers and memory values can be examined and altered * PC upload and download functions * Instruction-level emulation of program booting and execution * Complete assembly and disassembly of instructions * C source-level debugging See Designing An EZ-ICE-Compatible Target System in the ADSP-2100 Family EZ-Tools Manual (ADSP-2181 sections) as well as the Designing an EZ-ICE Compatible System section of this data sheet for the exact specifications of the EZ-ICE target board connector.
ADSP-21mod870 Reference Design/Evaluation Kit
The modem software executes general modem control, command sets, error correction and data compression, data modulations (for example, V.90 and V.34), and host interface functions. The host interface allows system access to modem statistics such as call progress, connect speed, retrain count, symbol rate and other modulation parameters. The modem data pump and controller software reside in onchip SRAM and do not require external memory. You can configure the ADSP-21mod870 dynamically by downloading software from the host through the 16-bit DMA interface. This SRAM-based architecture provides a software upgrade path to future standards and applications, such as voice over IP. The modem software is available as object code.
DEVELOPMENT SYSTEM
The ADSP-2100 Family Development Software, a complete set of tools for software and hardware system development, supports the ADSP-21mod870. The System Builder provides a high level method for defining the architecture of systems under development. The Assembler has an algebraic syntax that is easy to program and debug. The Linker combines object files into an executable file. The Simulator provides an interactive instruction-level simulation with a reconfigurable user interface to display different portions of the hardware environment. A PROM Splitter generates PROM programmer compatible files. The C Compiler, based on the Free Software Foundation's GNU C Compiler, generates ADSP-21mod870 assembly source code. The source code debugger allows programs to be corrected in the C environment. The Runtime Library includes over 100 ANSI-standard mathematical and DSP-specific functions. The ADSP-218x EZ-ICE(R) Emulator aids in the hardware debugging of an ADSP-21mod870 system. The emulator consists of hardware, host computer resident software, and the target board connector. The ADSP-21mod870 integrates on-chip emulation support with a 14-pin ICE-Port interface. This interface provides a simpler target board connection that
The ADSP-21mod870-EV1 is a reference design/evaluation kit that includes an ISA bus PC card that has an ADSP-21061L SHARC(R) processor as a host, four ADSP-21mod870 Internet gateway processors and a T1 interface. The board is shipped with an evaluation copy of the modem software and software that runs on the PC. The PC software provides a user interface that lets you run a modem session "right out of the box." When you run the modem in keyboard mode, characters typed on the keyboard are transmitted to the other modem and characters sent by the other modem are displayed on the screen. Data can also be streamed through the COM port of the PC to send and receive files and perform automated testing. The modem system contains four ADSP-21mod870s connected to an ADSP-21061 SHARC host processor. This design is extensible to 32 ADSP-21mod870s. The ADSP-21mod870s are connected to a T1 interface. This accommodates testing with a digital line. A diagram of the system is shown below in Figure 1. The SHARC processor communicates to the PC through the ISA bus. The SHARC acts as the modem system host and controls the ADSP-21mod870-based modems connected to a DMA bus. The code, written in C, runs on the SHARC and provides an example of how the host loads code into the ADSP-21mod870s,
HOST
MODEM POOL
SPORT0 SPORT0
LINE I/F
T1/ISDN DIGITAL TELCO
ADSP21mod870 ISA BUS ADSP-21061 SHARC SPORT FLASH MEM I/F
IDMA PORT IDMA PORT
ADSP21mod870
IDMA PORT IDMA PORT
ADSP-2183
ADSP21mod870
SPORT0
ADSP21mod870
SPORT0
Figure 1. Evaluation/Reference Design Board
EZ-ICE and SHARC are registered trademarks of Analog Devices, Inc.
-2-
REV. 0
ADSP-21mod870
how data is passed, and how commands and status information are communicated. You can port this C code to whatever host processor you are using in your system. The SHARC also controls an ADSP-2181 connected to the DMA bus. The ADSP-2181 controls the T1 interface. The PCM serial stream from the T1 interface is connected to the serial ports of the ADSP-21mod870s. A debugger is provided that lets you download code and data to the SHARC and examine register and memory contents. Monitor software is also included so you can run a modem session immediately "out of the box" without writing extra layers of software or adding to the configuration.
Additional Information
The internal result (R) bus connects the computational units so that the output of any unit may be the input of any unit on the next cycle. A powerful program sequencer and two dedicated data address generators ensure efficient delivery of operands to these computational units. The sequencer supports conditional jumps, subroutine calls and returns in a single cycle. With internal loop counters and loop stacks, the ADSP-21mod870 executes looped code with zero overhead; no explicit jump instructions are required to maintain loops. Two data address generators (DAGs) provide addresses for simultaneous dual operand fetches (from data memory and program memory). Each DAG maintains and updates four address pointers. Whenever the pointer is used to access data (indirect addressing), it is post-modified by the value of one of four possible modify registers. A length value may be associated with each pointer to implement automatic modulo addressing for circular buffers. Efficient data transfer is achieved with the use of five internal buses: * * * * * Program Memory Address (PMA) Bus Program Memory Data (PMD) Bus Data Memory Address (DMA) Bus Data Memory Data (DMD) Bus Result (R) Bus
This data sheet provides a general overview of ADSP-21mod870 functionality. For additional information on the architecture and instruction set of the processor, refer to the ADSP-2100 Family User's Manual, Third Edition. For more information about the development tools, refer to the ADSP-2100 Family Development Tools data sheet. For more information about the modem software refer to ADSP-21mod870-100 Modem Software data sheet.
ARCHITECTURE OVERVIEW
The ADSP-21mod870 instruction set provides flexible data moves and multifunction (one or two data moves with a computation) instructions. Every instruction can be executed in a single processor cycle. The ADSP-21mod870 assembly language uses an algebraic syntax for ease of coding and readability. A comprehensive set of development tools supports program development.
POWER-DOWN CONTROL DATA ADDRESS GENERATORS DAG 1 DAG 2 MEMORY
PROGRAM SEQUENCER 16K 24 PM 8K 24 OVERLAY 1 8K 24 OVERLAY 2 16K 16 DM 8K 16 OVERLAY 1 8K 16 OVERLAY 2 PROGRAMMABLE I/O AND FLAGS
The two address buses (PMA and DMA) share a single external address bus, allowing memory to be expanded off-chip, and the two data buses (PMD and DMD) share a single external data bus. Byte and I/O memory space also share the external buses. Program memory can store both instructions and data, permitting the ADSP-21mod870 to fetch two operands in a single cycle, one from program memory and one from data memory. The ADSP-21mod870 can fetch an operand from program memory and the next instruction in the same cycle. In lieu of the address and data bus for external memory connection, the ADSP-21mod870 may be configured for 16-bit Internal DMA port (IDMA port) connection to external systems. The IDMA port is made up of 16 data/address pins and five control pins. The IDMA port provides transparent, direct access to the DSPs on-chip program and data RAM. An interface to low cost byte-wide memory is provided by the Byte DMA port (BDMA port). The BDMA port is bidirectional and can directly address up to four megabytes of external RAM or ROM for off-chip storage of program overlays or data tables. The byte memory and I/O memory space interface supports slow memories and I/O memory-mapped peripherals with programmable wait state generation. External devices can gain control of external buses with bus request/grant signals (BR, BGH, and BG). One execution mode (Go Mode) allows the ADSP-21mod870 to continue running from on-chip memory. Normal execution mode requires the processor to halt while buses are granted. The ADSP-21mod870 can respond to eleven interrupts. There can be up to six external interrupts (one edge-sensitive, two level-sensitive, and three configurable) and seven internal interrupts generated by the timer, the serial ports (SPORTs), the Byte DMA port, and the power-down circuitry. There is also a master RESET signal. The two serial ports provide a complete -3-
FULL MEMORY MODE EXTERNAL ADDRESS BUS EXTERNAL DATA BUS BYTE DMA CONTROLLER
PROGRAM MEMORY ADDRESS DATA MEMORY ADDRESS PROGRAM MEMORY DATA
OR
DATA MEMORY DATA
EXTERNAL DATA BUS ARITHMETIC UNITS ALU MAC SHIFTER SERIAL PORTS SPORT 0 SPORT 1 TIMER INTERNAL DMA PORT HOST MODE
ADSP-2100 BASE ARCHITECTURE
Figure 2. Functional Block Diagram
Figure 2 is an overall block diagram of the ADSP-21mod870. The processor contains three independent computational units: the ALU, the multiplier/accumulator (MAC) and the shifter. The computational units process 16-bit data directly and have provisions to support multiprecision computations. The ALU performs a standard set of arithmetic and logic operations; division primitives are also supported. The MAC performs single-cycle multiply, multiply/add and multiply/subtract operations with 40 bits of accumulation. The shifter performs logical and arithmetic shifts, normalization, denormalization and derive exponent operations. The shifter can be used to efficiently implement numeric format control including multiword and block floating-point representations. REV. 0
ADSP-21mod870
synchronous serial interface with optional companding in hardware and a wide variety of framed or frameless data transmit and receive modes of operation. Each port can generate an internal programmable serial clock or accept an external serial clock. The ADSP-21mod870 provides up to 13 general-purpose flag pins. The data input and output pins on SPORT1 can be alternatively configured as an input flag and an output flag. In addition, there are eight flags that are programmable as inputs or outputs, and three flags that are always outputs. A programmable interval timer generates periodic interrupts. A 16-bit count register (TCOUNT) decrements every n processor cycles, where n is a scaling value stored in an 8-bit register (TSCALE). When the value of the count register reaches zero, an interrupt is generated and the count register is reloaded from a 16-bit period register (TPERIOD).
Serial Ports Common-Mode Pins Pin Name(s) RESET BR BG BGH DMS PMS IOMS BMS CMS RD WR IRQ2/ PF7 IRQL1/ PF6 IRQL0/ PF5 IRQE/ PF4 Mode D/ PF3 Mode C/ PF2 Mode B/ PF1 Mode A/ PF0 CLKIN, XTAL CLKOUT SPORT0 SPORT12 2 1 5 5 1 1 1 # Input/ of OutPins put Function 1 1 1 1 1 1 1 1 1 1 1 1 I I O O O O O O O O O I I/O I I/O I I/O I I/O I I/O I I/O I I/O I I/O I O I/O I/O Processor Reset Input Bus Request Input Bus Grant Output Bus Grant Hung Output Data Memory Select Output Program Memory Select Output Memory Select Output Byte Memory Select Output Combined Memory Select Output Memory Read Enable Output Memory Write Enable Output Edge- or Level-Sensitive Interrupt Request1 Programmable I/O Pin Level-Sensitive Interrupt Requests1 Programmable I/O Pin Level-Sensitive Interrupt Requests1 Programmable I/O Pin Edge-Sensitive Interrupt Requests1 Programmable I/O Pin Mode Select Input--Checked only During RESET Programmable I/O Pin During Normal Operation Mode Select Input--Checked only During RESET Programmable I/O Pin During Normal Operation Mode Select Input--Checked only During RESET Programmable I/O Pin During Normal Operation Mode Select Input--Checked only During RESET Programmable I/O Pin During Normal Operation Clock or Quartz Crystal Input Processor Clock Output Serial Port 0 Pins (TFS0, RFS0, DT0, DR0, SCLK0) Serial Port 1 Pins (TFS1, RFS1, DT1, DR1, SCLK1) External Interrupt Request #0 External Interrupt Request #1 Flag Input Pin Flag Output Pin Power-Down Control Input Power-Down Control Output Output Flags Power and Ground For Emulation Use
The ADSP-21mod870 incorporates two complete synchronous serial ports (SPORT0 and SPORT1) for serial communications and multiprocessor communication. Here is a brief list of the capabilities of the ADSP-21mod870 SPORTs. For additional information on Serial Ports, refer to the ADSP-2100 Family User's Manual, Third Edition. * SPORTs are bidirectional and have a separate, doublebuffered transmit and receive section. * SPORTs can use an external serial clock or generate their own serial clock internally. * SPORTs have independent framing for the receive and transmit sections. Sections run in a frameless mode or with frame synchronization signals internally or externally generated. Frame sync signals are active high or inverted, with either of two pulsewidths and timings. * SPORTs support serial data word lengths from 3 to 16 bits and provide optional A-law and -law companding according to CCITT recommendation G.711. * SPORT receive and transmit sections can generate unique interrupts on completing a data word transfer. * SPORTs can receive and transmit an entire circular buffer of data with one overhead cycle per data word. An interrupt is generated after a data buffer transfer. * SPORT0 has a multichannel interface to selectively receive and transmit a 24 or 32 word, time-division multiplexed, serial bitstream. * SPORT1 can be configured to have two external interrupts (IRQ0 and IRQ1) and the Flag In and Flag Out signals. The internally generated serial clock may still be used in this configuration.
PIN DESCRIPTIONS
1 1 1 1
The ADSP-21mod870 is available in a 100-lead LQFP package. To maintain maximum functionality and reduce package size and pin count, some serial port, programmable flag, interrupt, and external bus pins have dual, multiplexed functionality. The external bus pins are configured during RESET, while serial port pins are software configurable during program execution. Flag and interrupt functionality is retained concurrently on multiplexed pins. The following table shows the common-mode pins. When pin functionality is configurable, the default state is shown in plain text, alternate functionality is in italics. -4-
or Interrupts and Flags: IRQ0 (RFS1) 1 IRQ1 (TFS1) 1 FI (DR1) 1 FO (DT1) 1 PWD 1 PWDACK 1 FL0, FL1, FL2 3 16 VDD and GND EZ-Port 9
I I I O I O O I I/O
NOTES 1 Interrupt/Flag pins retain both functions concurrently. If IMASK is set to enable the corresponding interrupts, the DSP will vector to the appropriate interrupt vector address when the pin is asserted, either by external devices or set as a programmable flag. 2 SPORT configuration determined by the DSP System Control Register. Software configurable.
REV. 0
ADSP-21mod870
Memory Interface Pins
The ADSP-21mod870 processor can be used in one of two modes: Full Memory Mode, which allows BDMA operation with full external overlay memory and I/O capability, or Host Mode, which allows IDMA operation with limited external addressing capabilities. The operating mode is determined by the state of the Mode C pin during RESET and cannot be changed while the processor is running.
Full Memory Mode Pins (Mode C = 0)
Pin Name A13:0 D23:0
# of Pins 14 24
Input/ Output O I/O
Function Address Output Pins for Program, Data, Byte and I/O Spaces Data I/O Pins for Program, Data, Byte and I/O Spaces (8 MSBs Are Also Used as Byte Memory Addresses)
D4 or IS D3 or IACK D2:0 or IAD15:13 PMS DMS BMS IOMS CMS RD WR BR BG BGH IRQ2/PF7
I/O (Z) I I/O (Z) ** I/O (Z) I/O (Z) O (Z) O (Z) O (Z) O (Z) O (Z) O (Z) O (Z) I O (Z) O (Z) I/O (Z)
Hi-Z I Hi-Z ** Hi-Z Hi-Z O O O O O O O I O O I
BR, EBR BR, EBR BR, EBR IS BR, EBR BR, EBR BR, EBR BR, EBR BR, EBR BR, EBR BR, EBR EE EE
IRQL1/PF6
I/O (Z)
I
Host Mode Pins (Mode C = 1)
IRQL0/PF5
I/O (Z)
I
Pin Name IAD15:0 A0 D23:8 IWR IRD IAL IS IACK
# of Pins 16 1 16 1 1 1 1 1
Input/ Output I/O O I/O I I I I O
Function IDMA Port Address/Data Bus Address Pin for External I/O, Program, Data, or Byte Access Data I/O Pins for Program, Data Byte and I/O Spaces IDMA Write Enable IDMA Read Enable IDMA Address Latch Pin IDMA Select IDMA Port Acknowledge Configurable in Mode D; Open Drain
IRQE/PF4
I/O (Z)
I
SCLK0 RFS0 DR0 TFS0 DT0 SCLK1 RFS1/IRQ0 DR1/FI TFS1/IRQ1 DT1/FO EE EBR EBG ERESET EMS EINT ECLK ELIN ELOUT
I/O I/O I I/O O I/O I/O I I/O O I I O I O I I I O
I I I O O I I I O O I I O I O I I I O
Float High (Inactive) Float Float Float Float Float Float Float Float Float Float Float High (Inactive) Float Float Input = High (Inactive) or Program as Output, Set to 1, Let Float Input = High (Inactive) or Program as Output, Set to 1, Let Float Input = High (Inactive) or Program as Output, Set to 1, Let Float Input = High (Inactive) or Program as Output, Set to 1, Let Float Input = High or Low, Output = Float High or Low High or Low High or Low Float Input = High or Low, Output = Float High or Low High or Low High or Low Float
In Host Mode, external peripheral addresses can be decoded using the A0, CMS, PMS, DMS and IOMS signals.
Terminating Unused Pin
The following table shows the recommendations for terminating unused pins.
Pin Terminations
Pin Name XTAL CLKOUT A13:1 or IAD12:0 A0 D23:8 D7 or IWR D6 or IRD D5 or IAL I/O 3-State (Z) I O O (Z) I/O (Z) O (Z) I/O (Z) I/O (Z) I I/O (Z) I I/O (Z) I Reset State I O Hi-Z Hi-Z Hi-Z Hi-Z Hi-Z I Hi-Z I Hi-Z I Hi-Z* Caused By Unused Configuration Float Float Float Float Float Float Float High (Inactive) Float High (Inactive) Float Low (Inactive)
BR, EBR IS BR, EBR BR, EBR BR, EBR BR, EBR BR, EBR BR, EBR
NOTES **Hi-Z = High Impedance. **Determined by MODE D pin: Mode D = 0 and in host mode: IACK is an active, driven signal and cannot be "wire ORed." Mode D = 1 and in host mode: IACK is an open source and requires an external pull-down, but multiple IACK pins can be "wire ORed" together. 1. If the CLKOUT pin is not used, turn it OFF. 2. If the Interrupt/Programmable Flag pins are not used, there are two options: Option 1: When these pins are configured as INPUTS at reset and function as interrupts and input flag pins, pull the pins High (inactive). Option 2: Program the unused pins as OUTPUTS, set them to 1, and let them float. 3. All bidirectional pins have three-stated outputs. When the pins is configured as an output, the output is Hi-Z (high impedance). 4. CLKIN, RESET, and PF3:0 are not included in the table because these pins must be used.
REV. 0
-5-
ADSP-21mod870
Interrupts LOW POWER OPERATION
The interrupt controller allows the processor to respond to the eleven possible interrupts and reset with minimum overhead. The ADSP-21mod870 provides four dedicated external interrupt input pins, IRQ2, IRQL0, IRQL1, and IRQE (shared with the PF7:4 pins). In addition, SPORT1 may be reconfigured for IRQ0, IRQ1, FLAG_IN and FLAG_OUT, for a total of six external interrupts. The ADSP-21mod870 also supports internal interrupts from the timer, the byte DMA port, the two serial ports, software and the power-down control circuit. The interrupt levels are internally prioritized and individually maskable (except power down and reset). The IRQ2, IRQ0 and IRQ1 input pins can be programmed to be either level- or edgesensitive. IRQL0 and IRQL1 are level-sensitive and IRQE is edge-sensitive. The priorities and vector addresses of all interrupts are shown in Table I.
Table I. Interrupt Priority and Interrupt Vector Addresses
The ADSP-21mod870 has three low power modes that significantly reduce the power dissipation when the device operates under standby conditions. These modes are: * Power-Down * Idle * Slow Idle The CLKOUT pin may also be disabled to reduce external power dissipation.
Power-Down
The ADSP-21mod870 Internet gateway processor has a low power feature that lets the processor enter a very low power dormant state through hardware or software control. Here is a brief list of power-down features. Refer to the ADSP-2100 Family User's Manual, Third Edition, "System Interface" chapter, for detailed information about the power-down feature. * Quick recovery from power-down. The processor begins executing instructions in as few as 400 CLKIN cycles. * Support for an externally generated TTL or CMOS processor clock. The external clock can continue running during powerdown without affecting the lowest power rating and 400 CLKIN cycle recovery. * Support for crystal operation includes disabling the oscillator to save power (the processor automatically waits approximately 4096 CLKIN cycles for the crystal oscillator to start or stabilize), and letting the oscillator run to allow 400 CLKIN cycle startup. * Power-down is initiated by either the power-down pin (PWD) or the software power-down force bit. Interrupt support allows an unlimited number of instructions to be executed before optionally powering down. The power-down interrupt also can be used as a nonmaskable, edge-sensitive interrupt. * Context clear/save control allows the processor to continue where it left off or start with a clean context when leaving the power-down state. * The RESET pin also can be used to terminate power-down. * Power-down acknowledge pin indicates when the processor has entered power-down.
Idle
Source of Interrupt Reset (or Power-Up with PUCR = 1) Power-Down (Nonmaskable) IRQ2 IRQL1 IRQL0 SPORT0 Transmit SPORT0 Receive IRQE BDMA Interrupt SPORT1 Transmit or IRQ1 SPORT1 Receive or IRQ0 Timer
Interrupt Vector Address (Hex) 0000 (Highest Priority) 002C 0004 0008 000C 0010 0014 0018 001C 0020 0024 0028 (Lowest Priority)
Interrupt routines can either be nested with higher priority interrupts taking precedence or processed sequentially. Interrupts can be masked or unmasked with the IMASK register. Individual interrupt requests are logically ANDed with the bits in IMASK; the highest priority unmasked interrupt is then selected. The power-down interrupt is nonmaskable. The ADSP-21mod870 masks all interrupts for one instruction cycle following the execution of an instruction that modifies the IMASK register. This does not affect serial port autobuffering or DMA transfers. The interrupt control register, ICNTL, controls interrupt nesting and defines the IRQ0, IRQ1 and IRQ2 external interrupts to be either edge- or level-sensitive. The IRQE pin is an external edge sensitive interrupt and can be forced and cleared. The IRQL0 and IRQL1 pins are external level-sensitive interrupts. The IFC register is a write-only register used to force and clear interrupts. On-chip stacks preserve the processor status and are automatically maintained during interrupt handling. The stacks are twelve levels deep to allow interrupt, loop, and subroutine nesting. The following instructions allow global enable or disable servicing of the interrupts (including power down), regardless of the state of IMASK. Disabling the interrupts does not affect serial port autobuffering or DMA. ENA INTS; DIS INTS; When the processor is reset, interrupt servicing is enabled. -6-
When the ADSP-21mod870 is in the Idle Mode, the processor waits indefinitely in a low power state until an interrupt occurs. When an unmasked interrupt occurs, it is serviced; execution then continues with the instruction following the IDLE instruction. In Idle Mode IDMA, BDMA and autobuffer cycle steals still occur.
Slow Idle
The IDLE instruction is enhanced on the ADSP-21mod870 to let the processor's internal clock signal be slowed, further reducing power consumption. The reduced clock frequency, a programmable fraction of the normal clock rate, is specified by a selectable divisor given in the IDLE instruction. The format of the instruction is IDLE (n); where n = 16, 32, 64 or 128. This instruction keeps the processor fully functional, but operating at the slower clock rate. While it is in this state, the processor's other internal clock signals, such as SCLK, CLKOUT and timer clock, are reduced by the same REV. 0
ADSP-21mod870
ratio. The default form of the instruction, when no clock divisor is given, is the standard IDLE instruction. When the IDLE (n) instruction is used, it effectively slows down the processor's internal clock and thus its response time to incoming interrupts. The one-cycle response time of the standard idle state is increased by n, the clock divisor. When an enabled interrupt is received, the ADSP-21mod870 will remain in the idle state for up to a maximum of n processor cycles (n = 16, 32, 64, or 128) before resuming normal operation. When the IDLE (n) instruction is used in systems that have an externally generated serial clock (SCLK), the serial clock rate may be faster than the processor's reduced internal clock rate. Under these conditions, interrupts must not be generated at a faster rate than can be serviced, due to the additional time the processor takes to come out of the idle state (a maximum of n processor cycles).
SYSTEM INTERFACE CLOCK SIGNALS
The ADSP-21mod870 can be clocked by either a crystal or a TTL-compatible clock signal. The CLKIN input cannot be halted, changed during operation, or operated below the specified frequency during normal operation. The only exception is while the processor is in the powerdown state. For additional information, refer to Chapter 9, ADSP-2100 Family User's Manual, Third Edition, for detailed information on this power-down feature. If an external clock is used, it should be a TTL-compatible signal running at half the instruction rate. The signal is connected to the processor's CLKIN input. When an external clock is used, the XTAL input must be left unconnected. The ADSP-21mod870 uses an input clock with a frequency equal to half the instruction rate; a 26 MHz input clock yields a 19 ns processor cycle (which is equivalent to 52 MHz). Normally, instructions are executed in a single processor cycle. All device timing is relative to the internal instruction clock rate, which is indicated by the CLKOUT signal when enabled. Because the ADSP-21mod870 includes an on-chip oscillator circuit, an external crystal may be used. The crystal should be connected across the CLKIN and XTAL pins, with two capacitors connected as shown in Figure 4. Capacitor values are dependent on crystal type and should be specified by the crystal manufacturer. A parallel-resonant, fundamental frequency, microprocessor-grade crystal should be used. A clock output (CLKOUT) signal is generated by the processor at the processor's cycle rate. This is enabled and disabled by the CLKODIS bit in the SPORT0 Autobuffer Control Register.
Figure 3 shows a typical multichannel modem configuration with the ADSP-21mod870. A line interface can be used to connect the multichannel subscriber or client data stream to the multichannel serial port of the ADSP-21mod870. The ADSP21mod870 can support 24 or 32 channels. The IDMA port of the ADSP-21mod870 is used to give a host processor full access to the internal memory of the ADSP-21mod870. This lets the host dynamically configure the ADSP-21mod870 by loading code and data into its internal memory. This configuration also lets the host access server data directly from the ADSP-21mod870's internal memory. In this configuration, the ADSP-21mod870 should be put into host memory mode where Mode C = 1, Mode B = 0 and Mode A = 1 (see Table II).
SP0 ADSP21mod870 IDMA LINE INTERFACE CALL CONTROL T1, E1, PRI, xDSL, ATM IDMA ADSP21mod870 SP0
SP0 ADSP21mod870 IDMA
SP0 ADSP21mod870 IDMA
SP0 ADSP21mod870 IDMA HOST (2183)
HOST BUS
IDMA ADSP21mod870 SP0
IDMA ADSP21mod870 SP0
IDMA ADSP21mod870 SP0
LAN OR INTERNET
ADSP-21mod870 FUNCTIONS * V.34/56k MODEM * V.17 FAX * V.42, V.42bis, MNP2-5 DTMF DIALING CALLER ID HDLC PROTOCOL
HOST FUNCTIONS * MULTI-DSP CONTROL AND OVERLAY MANAGEMENT * SERVICE 32 DSPs/HOST * DATA PACKETIZING
Figure 3. Network Access System
CLKIN
XTAL
CLKOUT
DSP
Figure 4. External Crystal Connections
REV. 0
-7-
ADSP-21mod870
Reset MODES OF OPERATION
The RESET signal initiates a master reset of the ADSP21mod870. The RESET signal must be asserted during the power-up sequence to assure proper initialization. RESET during initial power-up must be held long enough to allow the internal clock to stabilize. If RESET is activated any time after power-up, the clock continues to run and does not require stabilization time. The power-up sequence is defined as the total time required for the crystal oscillator circuit to stabilize after a valid VDD is applied to the processor, and for the internal phase-locked loop (PLL) to lock onto the specific crystal frequency. A minimum of 2000 CLKIN cycles ensures that the PLL has locked but does not include the crystal oscillator start-up time. During this power-up sequence the RESET signal should be held low. On any subsequent resets, the RESET signal must meet the minimum pulsewidth specification, tRSP. The RESET input contains some hysteresis; however, if you use an RC circuit to generate your RESET signal, the use of an external Schmidt trigger is recommended. The master reset sets all internal stack pointers to the empty stack condition, masks all interrupts and clears the MSTAT register. When RESET is released, if there is no pending bus request and the chip is configured for booting, the boot-loading sequence is performed. The first instruction is fetched from on-chip program memory location 0x0000 once boot loading completes.
Table II summarizes the ADSP-21mod870 memory modes.
Setting Memory Mode
The ADSP-21mod870 uses the Mode C pin to make a Memory Mode selection during chip reset. This pin is multiplexed with the processor's PF2 pin, so exercise care when selecting a mode. The two methods for selecting the value of Mode C are active and passive. Passive configuration uses a pull-up or pull-down resistor connected to the Mode C pin. To minimize power consumption, or if the PF2 pin is used as an output in the DSP application, use a weak pull-up or pull-down, on the order of 100 k. This value should be sufficient to pull the pin to the desired level and still let the pin operate as a programmable flag output without undue strain on the processor's output driver. For minimum power consumption during power-down, reconfigure PF2 as an input, as the pull-up or pull-down will hold the pin in a known state, and will not switch. Active configuration uses a three-statable external driver connected to the Mode C pin. A driver's output enable should be connected to the processor's RESET signal so it only drives the PF2 pin when RESET is active (low). When RESET is de-asserted, the driver should three-state, allowing the PF2 pin to be an input or output. To minimize power consumption during power-down, configure the programmable flag as an output when connected to a three-stated buffer. This ensures that the pin is
Table II. Modes of Operation1
MODE D2 X
MODE C3 0
MODE B4 0
MODE A5 0
Booting Method BDMA feature is used to load the first 32 program memory words from the byte memory space. Program execution is held off until all 32 words have been loaded. Chip is configured in Full Memory Mode.6 No automatic boot operations occur. Program execution starts at external memory location 0. Chip is configured in Full Memory Mode. BDMA can still be used but the processor does not automatically use or wait for these operations. BDMA feature is used to load the first 32 program memory words from the byte memory space. Program execution is held off until all 32 words have been loaded. Chip is configured in Host Mode. IACK has active pull-down. (REQUIRES ADDITIONAL HARDWARE). IDMA feature is used to load any internal memory as desired. Program execution is held off until internal program memory location 0 is written to. Chip is configured in Host Mode.6 IACK has active pull-down. BDMA feature is used to load the first 32 program memory words from the byte memory space. Program execution is held off until all 32 words have been loaded. Chip is configured in Host Mode; IACK requires external pulldown. (REQUIRES ADDITIONAL HARDWARE). IDMA feature is used to load any internal memory as desired. Program execution is held off until internal program memory location 0 is written to. Chip is configured in Host Mode. IACK requires external pull-down.6
X
0
1
0
0
1
0
0
0
1
0
1
1
1
0
0
1
1
0
1
NOTES 1 All mode pins are recognized while RESET is active (low). 2 When Mode D = 0 and in host mode, IACK is an active, driven signal and cannot be "wire ORed." When Mode D = 1 and in host mode, IACK is an open source and requires an external pull-down, multiple IACK pins can be "wire ORed" together. 3 When Mode C = 0, Full Memory Mode enabled. When Mode C = 1, Host Memory Mode enabled. 4 When Mode B = 0, Auto Booting enabled. When Mode B = 1, no Auto Booting. 5 When Mode A = 0, BDMA enabled. When Mode A = 1, IDMA enabled. 6 Considered standard operating settings. Using these configurations allows for easier design and better memory management.
-8-
REV. 0
ADSP-21mod870
held at a constant level and will not oscillate if the three-state driver's level hovers around the logic switching point.
MEMORY ARCHITECTURE
The ADSP-21mod870 provides a variety of memory and peripheral interface options. The key functional groups are Program Memory, Data Memory, Byte Memory and I/O. Refer to the following figures and tables for PM and DM memory allocations in the ADSP-21mod870.
Program Memory
Program Memory (Host Mode) allows access to all internal memory. External overlay access is limited by a single external address line (A0). External program execution is not available in host mode due to a restricted data bus that is 16 bits wide only. The PMOVLAY bits are defined in Table III.
Table III. PMOVLAY Bits PMOVLAY 0, 4, 5 1 Memory Internal External Overlay 1 External Overlay 2 A13 Not Applicable 0 A12:0 Not Applicable 13 LSBs of Address Between 0x2000 and 0x3FFF 13 LSBs of Address Between 0x2000 and 0x3FFF
The Program Memory map is shown in Figure 5. Program Memory (Full Memory Mode) is a 24-bit space for storing both instruction op codes and data. The ADSP-21mod870 has 32K words of Program Memory RAM on chip, and the capability of accessing up to two 8K external memory overlay spaces using the external data bus.
2
1 1
Data Memory
The Data Memory map is shown in Figure 6.
PM MODE B=0 ALWAYS ACCESSIBLE AT ADDRESS 0x0000 - 0x1FFF 0x2000- 0x3FFF 0x2000- 0x3FFF PM (MODE B=1)1 RESERVED 0x2000- 0x3FFF ACCESSIBLE WHEN PMOVLAY = 0
ACCESSIBLE WHEN PMOVLAY = 0 INTERNAL MEMORY
INTERNAL RESERVED MEMORY 0x2000- 0x0000- ACCESSIBLE WHEN RESERVED 0x3FFF 0x1FFF2 PMOVLAY = 4 0x2000- ACCESSIBLE WHEN ACCESSIBLE WHEN 2 0x3FFF PMOVLAY = 5 PMOVLAY = 1 EXTERNAL 0x2000- ACCESSIBLE WHEN MEMORY RESERVED 0x3FFF2 PMOVLAY = 1 ACCESSIBLE WHEN PMOVLAY = 2
1WHEN MODE = 1, PMOVLAY MUST BE SET TO 0 2SEE TABLE III FOR PMOVLAY BITS
EXTERNAL MEMORY
PROGRAM MEMORY MODE B = 0 ADDRESS 0x3FFF 8K INTERNAL PMOVLAY = 0, 4, 5 OR 8K EXTERNAL PMOVLAY = 1, 2 0x2000 0x1FFF 8K INTERNAL 0x0000
PROGRAM MEMORY MODE B = 1 ADDRESS 0x3FFF 8K INTERNAL PMOVLAY = 0 0x2000 0x1FFF 8K EXTERNAL 0x0000
Figure 5. Program Memory
DATA MEMORY ALWAYS ACCESSIBLE AT ADDRESS 0x2000 - 0x3FFF ACCESSIBLE WHEN DMOVLAY = 0 INTERNAL MEMORY 0x2000- 0x1FFF 0x0000- 0x1FFF DATA MEMORY 32 MEMORY MAPPED REGISTERS INTERNAL 8160 WORDS ADDRESS 0x3FFF 0x3FE0 0x3FDF 0x2000 0x1FFF
ACCESSIBLE WHEN DMOVLAY = 4
0x0000- 0x1FFF 0x0000- ACCESSIBLE WHEN 0x1FFF DMOVLAY = 5 ACCESSIBLE WHEN DMOVLAY = 1 0x0000- 0x1FFF
8K INTERNAL DMOVLAY = 0, 4, 5 OR EXTERNAL 8K DMOVLAY = 1, 2
0x0000
EXTERNAL MEMORY
ACCESSIBLE WHEN DMOVLAY = 2
Figure 6. Data Memory Map
REV. 0
-9-
ADSP-21mod870
Data Memory (Full Memory Mode) is a 16-bit-wide space used for the storage of data variables and for memory-mapped control registers. The ADSP-21mod870 has 32K words on Data Memory RAM on chip, consisting of 16,352 user-accessible locations and 32 memory-mapped registers. Support also exists for up to two 8K external memory overlay spaces through the external data bus. All internal accesses complete in one cycle. Accesses to external memory are timed using the wait states specified by the DWAIT register. Data Memory (Host Mode) allows access to all internal memory. External overlay access is limited by a single external address line (A0). The DMOVLAY bits are defined in Table IV.
Table IV. DMOVLAY Bits
The CMS pin functions like the other memory select signals with the same timing and bus request logic. A 1 in the enable bit causes the assertion of the CMS signal at the same time as the selected memory select signal. All enable bits default to 1 at reset, except BMS.
Boot Memory Select (BMS) Disable
The ADSP-21mod870 lets you boot the processor from one external memory space while using a different external memory space for BDMA transfers during normal operation. You can use the CMS to select the first external memory space for BDMA transfers and BMS to select the second external space for booting. The BMS signal can be disabled by setting Bit 3 of the system control register to 1. The system control register is illustrated in Figure 7.
SYSTEM CONTROL REGISTER 15 14 13 12 11 10 9 8 7 6 5 4 3 0 0 0 0 0 1 0 0 0 0 0 0 0 2 1 1 1 0 1 DM (0x3FFF) PWAIT PROGRAM MEMORY WAIT STATES BMS ENABLE 0 = ENABLED, 1 = DISABLED
DMOVLAY Memory 0, 4, 5 1
A13
A12:0
2
Internal Not Applicable Not Applicable External 13 LSBs of Address Overlay 1 0 Between 0x2000 and 0x3FFF External 13 LSBs of Address Overlay 2 1 Between 0x2000 and 0x3FFF
SPORT0 ENABLE 1 = ENABLED, 0 = DISABLED SPORT1 ENABLE 1 = ENABLED, 0 = DISABLED
SPORT1 CONFIGURE 1 = SERIAL PORT 0 = FI, FO, IRQ0, IRQ1, SCLK
Figure 7. System Control Register
Byte Memory
I/O Space (Full Memory Mode)
The ADSP-21mod870 supports an additional external memory space called I/O space. This space is designed to support simple connections to peripherals (such as data converters and external registers) or to bus interface ASIC data registers. I/O space supports 2048 locations of 16-bit-wide data. The lower eleven bits of the external address bus are used; the upper 3 bits are undefined. Two instructions were added to the core ADSP-2100 Family instruction set to read from and write to I/O memory space. The I/O space also has four dedicated three-bit wait state registers, IOWAIT0-3, which specify up to seven wait states to be automatically generated for each of four regions. The wait states act on address ranges as shown in Table V.
Table V. Wait States
The byte memory space is a bidirectional, 8-bit-wide, external memory space used to store programs and data. Byte memory is accessed using the BDMA feature. The byte memory space consists of 256 pages, each of which is 16K x 8. The byte memory space on the ADSP-21mod870 supports read and write operations as well as four different data formats. The byte memory uses data bits 15:8 for data. The byte memory uses data bits 23:16 and address bits 13:0 to create a 22-bit address. This allows up to a 4 meg x 8 (32 megabit) ROM or RAM to be used without glue logic. All byte memory accesses are timed by the BMWAIT register.
Byte Memory DMA (BDMA, Full Memory Mode)
Address Range 0x000-0x1FF 0x200-0x3FF 0x400-0x5FF 0x600-0x7FF
Wait State Register IOWAIT0 IOWAIT1 IOWAIT2 IOWAIT3
The byte memory DMA controller allows loading and storing of program instructions and data using the byte memory space. The BDMA circuit is able to access the byte memory space while the processor is operating normally and steals only one processor cycle per 8-, 16- or 24-bit word transferred.
15 14 13 12 11 10 0 0 0 0 0 0 BDMA CONTROL 98765 0 0 0 0 0 4 0 3 1 2 0 1 0 0 0 DM (0x3FE3)
Composite Memory Select (CMS)
The ADSP-21mod870 has a programmable memory select signal that is useful for generating memory select signals for memories mapped to more than one space. The CMS signal is generated to have the same timing as each of the individual memory select signals (PMS, DMS, BMS, IOMS) but can combine their functionality. Each bit in the CMSSEL register, when set, causes the CMS signal to be asserted when the selected memory select is asserted. For example, to use a 32K word memory to act as both program and data memory, set the PMS and DMS bits in the CMSSEL register and use the CMS pin to drive the chip select of the memory, and use either DMS or PMS as the additional address bit.
BMPAGE
BDMA OVERLAY BITS
BTYPE BDIR 0 = LOAD FROM BM 1 = STORE TO BM BCR 0 = RUN DURING BDMA 1 = HALT DURING BDMA
Figure 8. BDMA Control Register
The BDMA circuit supports four different data formats which are selected by the BTYPE register field. The appropriate number of 8-bit accesses are done from the byte memory space to build the word size selected. Table VI shows the data formats supported by the BDMA circuit.
-10-
REV. 0
ADSP-21mod870
Unused bits in the 8-bit data memory formats are filled with 0s. The BIAD register field is used to specify the starting address for the on-chip memory involved with the transfer. The 14-bit BEAD register specifies the starting address for the external byte memory space. The 8-bit BMPAGE register specifies the starting page for the external byte memory space. The BDIR register field selects the direction of the transfer. Finally the, 14-bit BWCOUNT register specifies the number of DSP words to transfer and initiates the BDMA circuit transfers.
Table VI. Data Formats
processor's memory-mapped control registers. A typical IDMA transfer process is described as follows: 1. Host starts IDMA transfer. 2. Host checks IACK control line to see if the processor is busy. 3. Host uses IS and IAL control lines to latch either the DMA starting address (IDMAA) or the PM/DM OVLAY selection into the processor's IDMA control registers. If IAD[15] = 1, the value of IAD[7:0] represents the IDMA overlay: Bits 14:8 must be set to 0. If IAD[15] = 0, the value of IAD[13:0] represents the starting address of internal memory to be accessed and IAD[14] reflects PM or DM for access. 4. Host uses IS and IRD (or IWR) to read (or write) processor internal memory (PM or DM). 5. Host checks IACK line to see if the processor has completed the previous IDMA operation. 6. Host ends IDMA transfer. The IDMA port has a 16-bit multiplexed address and data bus and supports 24-bit program memory. The IDMA port is completely asynchronous and can be written to while the ADSP21mod870 is operating at full speed. The processor memory address is latched and is then automatically incremented after each IDMA transaction. An external device can therefore access a block of sequentially addressed memory by specifying only the starting address of the block. This increases throughput as the address does not have to be sent for each memory access. IDMA Port access occurs in two phases. The first is the IDMA Address Latch cycle. When the acknowledge is asserted, a 14-bit address and 1-bit destination type can be driven onto the bus by an external device. The address specifies an on-chip memory location; the destination type specifies whether it is a DM or PM access. The falling edge of the address latch signal latches this value into the IDMAA register. Once the address is stored, data can then be either read from, or written to, the ADSP-21mod870's on-chip memory. Asserting the select line (IS) and the appropriate read or write line (IRD and IWR respectively) signals the ADSP-21mod870 that a particular transaction is required. In either case, there is a oneprocessor-cycle delay for synchronization. The memory access consumes one additional processor cycle. Once an access has occurred, the latched address is automatically incremented, and another access can occur. Through the IDMAA register, the processor can also specify the starting address and data format for DMA operation. Asserting the IDMA port select (IS) and address latch enable (IAL) directs the ADSP-21mod870 to write the address onto the IAD[14:0] bus into the IDMA Control Register. If IAD[15] is set to 0, IDMA latches the address. If IAD[15] is set to 1, IDMA latches OVLAY memory. This register, shown below, is memory mapped at address DM (0x3FE0). Note that the latched address (IDMAA) cannot be read back by the host.
BTYPE 00 01 10 11
Internal Memory Space Program Memory Data Memory Data Memory Data Memory
Word Size 24 16 8 8
Alignment Full Word Full Word MSBs LSBs
BDMA accesses can cross page boundaries during sequential addressing. A BDMA interrupt is generated on the completion of the number of transfers specified by the BWCOUNT register. The BWCOUNT register is updated after each transfer so it can be used to check the status of the transfers. When it reaches zero, the transfers have finished and a BDMA interrupt is generated. The BMPAGE and BEAD registers must not be accessed by the processor during BDMA operations. The source or destination of a BDMA transfer will always be on-chip program or data memory. When the BWCOUNT register is written with a nonzero value, the BDMA circuit starts executing byte memory accesses with wait states set by BMWAIT. These accesses continue until the count reaches zero. When enough accesses have occurred to create a destination word, it is transferred to or from on-chip memory. The transfer takes one processor cycle. Processor accesses to external memory have priority over BDMA byte memory accesses. The BDMA Context Reset bit (BCR) controls whether the processor is held off while the BDMA accesses are occurring. Setting the BCR bit to 0 allows the processor to continue operations. Setting the BCR bit to 1 causes the processor to stop execution while the BDMA accesses are occurring, to clear the context of the processor, and start execution at address 0 when the BDMA accesses have completed. The BDMA overlay bits specify the OVLAY memory blocks to be accessed for internal memory.
Internal Memory DMA Port (IDMA Port; Host Memory Mode)
The IDMA Port provides an efficient means of communication between a host system and the ADSP-21mod870. The port is used to access the on-chip program memory and data memory of the processor with only one processor cycle per word overhead. The IDMA port cannot be used, however, to write to the
REV. 0
-11-
ADSP-21mod870
Figure 9 shows the IDMA Control and OVLAY Registers, Figure 10 shows the bus usage during IDMA transfers, and Figure 11 shows the DMA memory maps.
IDMA OVERLAY 15 14 13 12 11 10 0 0 0 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 0 DM(0x3FE7)
Bootstrap Loading (Booting)
The ADSP-21mod870 has two mechanisms to allow automatic loading of the internal program memory after reset. The method for booting is controlled by the Mode A, B and C configuration bits. When the MODE pins specify BDMA booting, the ADSP21mod870 initiates a BDMA boot sequence when reset is released. The BDMA interface is set up during reset to the following defaults when BDMA booting is specified: the BDIR, BMPAGE, BIAD and BEAD registers are set to 0, the BTYPE register is set to 0 to specify program memory 24-bit words, and the BWCOUNT register is set to 32. This causes 32 words of onchip program memory to be loaded from byte memory. These 32 words are used to set up the BDMA to load in the remaining program code. The BCR bit is also set to 1, which causes program execution to be held off until all 32 words are loaded into on-chip program memory. Execution then begins at Address 0. The ADSP-2100 Family development software (Revision 5.02 and later) fully supports the BDMA booting feature and can generate boot code compatible with byte memory space. The IDLE instruction can also be used to allow the processor to hold off execution while booting continues through the BDMA interface. For BDMA accesses while in Host Mode, the addresses to boot memory must be constructed externally to the ADSP-21mod870. The only memory address bit provided by the processor is A0.
IDMA Port Booting
RESERVED SET TO 0
ID DMOVLAY
ID PMOVLAY
IDMA CONTROL (U = UNDEFINED AT RESET) 15 14 13 12 11 10 U U U U U 9 U 8 U 7 U 6 U 5 U 4 U 3 U 2 U 1 U 0 U DM(0x3FE0)
IDMAA ADDRESS IDMAD DESTINATION MEMORY TYPE: 0 = PM 1 = DM
Figure 9. IDMA Control/OVLAY Registers
IDMA DATA READ/OUTPUT
15 14 13 12 11 10 DM 16-BIT PM 24-BIT 0 0 DATAUPPER BYTE DATAUPPER BYTE 0 0 0 0 0 0 9 (IAD 15-0) 876 5 4 3 2 1 0
DATALOWER BYTE DATAMIDDLE BYTE DATALOWER BYTE 1ST TRANSFER 2ND TRANSFER
IDMA DATA WRITE/INPUT
15 14 13 12 11 10 DM 16-BIT PM 24-BIT DATAUPPER BYTE DATAUPPER BYTE IGNORED 9 (IAD 15-0) 876 5 4 3 2 1 0
DATALOWER BYTE DATAMIDDLE BYTE DATALOWER BYTE 1ST TRANSFER 2ND TRANSFER
PAGE AND ADDRESS LATCH
15 14 13 12 11 10 PAGE LATCH ADDRESS LATCH 1 0 0 = PM 1 = DM 0 0 0 0 0 9 0 (IAD 15-0) 876 0 5 4 3 2 1 0
The ADSP-21mod870 can also boot programs through its Internal DMA port. If Mode C = 1, Mode B = 0, and Mode A = 1, the ADSP-21mod870 boots from the IDMA port. IDMA feature can load as much on-chip memory as desired. Program execution is held off until data is written to on-chip program memory location 0.
Bus Request and Bus Grant
DM PAGE ADDRESS
PM PAGE
Figure 10. Bus Usage During IDMA Transfers
DMA PROGRAM MEMORY OVLAY ALWAYS ACCESSIBLE AT ADDRESS 0x0000 - 0x1FFF ACCESSIBLE WHEN PMOVLAY = 0 0x2000- 0x3FFF 0x2000- 0x3FFF 0x2000- 0x3FFF DMA DATA MEMORY OVLAY ALWAYS ACCESSIBLE AT ADDRESS 0x2000 - 0x3FFF ACCESSIBLE WHEN DMOVLAY = 0 0x0000- 0x1FFF 0x0000- 0x1FFF 0x0000- 0x1FFF
The ADSP-21mod870 can relinquish control of the data and address buses to an external device. When the external device requires access to memory, it asserts the bus request (BR) signal. If the ADSP-21mod870 is not performing an external memory access, it responds to the active BR input in the following processor cycle by: * * * Three-stating the data and address buses and the PMS, DMS, BMS, CMS, IOMS, RD, WR output drivers, Asserting the bus grant (BG) signal and Halting program execution.
If Go Mode is enabled, the ADSP-21mod870 will not halt program execution until it encounters an instruction that requires an external memory access. If the ADSP-21mod870 is performing an external memory access when the external device asserts the BR signal, it will not threestate the memory interfaces or assert the BG signal until the processor cycle after the access completes. The instruction does not need to be completed when the bus is granted. If a single instruction requires two external memory accesses, the bus will be granted between the two accesses.
ACCESSIBLE WHEN PMOVLAY = 4 ACCESSIBLE WHEN PMOVLAY = 5
ACCESSIBLE WHEN DMOVLAY = 4 ACCESSIBLE WHEN DMOVLAY = 5
NOTE: IDMA AND BDMA HAVE SEPARATE DMA CONTROL REGISTERS
Figure 11. Direct Memory Access-PM and DM Memory Maps
-12-
REV. 0
ADSP-21mod870
When the BR signal is released, the processor releases the BG signal, reenables the output drivers and continues program execution from the point at which it stopped. The bus request feature operates at all times, including when the processor is booting and when RESET is active. The BGH pin is asserted when the ADSP-21mod870 is ready to execute an instruction but is stopped because the external bus is already granted to another device. The other device can release the bus by deasserting bus request. Once the bus is released, the ADSP-21mod870 deasserts BG and BGH and executes the external memory access.
Flag I/O Pins
the target system to the EZ-ICE. Target systems must have a 14-pin connector to accept the EZ-ICE's in-circuit probe, a 14pin plug. See the ADSP-2100 Family EZ-Tools data sheet for complete information on ICE products. Issuing the "chip reset" command during emulation causes the DSP processor to perform a full chip reset, including a reset of its memory mode. Therefore, it is vital that the mode pins are set correctly PRIOR to issuing a chip reset command from the emulator user interface. As the mode pins share functionality with PF0:2 (and PF3 on the ADSP-21mod870), it may be necessary to reset the target hardware separately to insure the proper mode selection state on emulator chip reset. If you are using a passive method of maintaining mode information (as discussed in the Setting Memory Modes section), it does not matter that mode information is latched by an emulator reset. However, if you are using the RESET pin as a method of setting the value of the mode pins, then you must consider the effects of an emulator reset. One method of ensuring that the values located on the mode pins is correct is to construct a circuit like the one shown below. This circuit will force the value located on the mode A pin to zero, regardless of whether it latched via the RESET or ERESET pin.
ERESET RESET
The ADSP-21mod870 has eight general purpose programmable input/output flag pins. They are controlled by two memory mapped registers. The PFTYPE register determines the direction, 1 = output and 0 = input. The PFDATA register is used to read and write the values on the pins. Data being read from a pin configured as an input is synchronized to the ADSP-21mod870's clock. Bits that are programmed as outputs will read the value being output. The PF pins default to input during reset. In addition to the programmable flags, the ADSP-21mod870 has five fixed-mode flags, FLAG_IN, FLAG_OUT, FL0, FL1, and FL2. FL0-FL2 are dedicated output flags. FLAG_IN and FLAG_OUT are available as an alternate configuration of SPORT1. Note: Pins PF0, PF1, PF2 and PF3 are also used for device configuration during reset.
Instruction Set Description
1k MODE A/PFO
The ADSP-21mod870 assembly language instruction set has an algebraic syntax that was designed for ease of coding and readability. The assembly language, which takes full advantage of the processor's unique architecture, offers the following benefits: * The algebraic syntax eliminates the need to remember cryptic assembler mnemonics. For example, a typical arithmetic add instruction, such as AR = AX0 + AY0, resembles a simple equation. * Every instruction assembles into a single, 24-bit word that can execute in a single instruction cycle. * The syntax is a superset ADSP-2100 Family assembly language and is completely source and object code compatible with other family members. Programs may need to be relocated to utilize on-chip memory and conform to the ADSP21mod870's interrupt vector and reset vector map. * Sixteen condition codes are available. For conditional jump, call, return or arithmetic instructions, the condition can be checked and the operation executed in the same instruction cycle. * Multifunction instructions allow parallel execution of an arithmetic instruction with up to two fetches or one write to processor memory space during a single instruction cycle.
DESIGNING AN EZ-ICE-COMPATIBLE SYSTEM
PROGRAMMABLE I/O
Figure 12. RESET, ERESET Circuit
See the ADSP-2100 Family EZ-Tools data sheet for complete information on ICE products. The ICE-Port interface consists of the following ADSP-21mod870 pins: EBR EBG ERESET EMS EINT ECLK ELIN ELOUT EE
These ADSP-21mod870 pins must be connected only to the EZICE connector in the target system. These pins have no function except during emulation, and do not require pull-up or pulldown resistors. The traces for these signals between the ADSP21mod870 and the connector must be kept as short as possible, no longer that three inches. The following pins are also used by the EZ-ICE: BR BG RESET GND
The ADSP-21mod870 has on-chip emulation support and an ICE-Port, a special set of pins that interface to the EZ-ICE. These features allow in-circuit emulation without replacing the target system processor by using only a 14-pin connection from REV. 0
The EZ-ICE uses the EE (emulator enable) signal to take control of the ADSP-21mod870 in the target system. This causes the processor to use its ERESET, EBR and EBG pins instead of the RESET, BR and BG pins. The BG output is three-stated. These signals do not need to be jumper-isolated in your system.
-13-
ADSP-21mod870
The EZ-ICE connects to your target system via a ribbon cable and a 14-pin female plug. The ribbon cable is ten inches long with one end fixed to the EZ-ICE. The female plug is plugged onto the 14-pin connector (a pin strip header) on the target board.
Target Board Connector for EZ-ICE Probe
The EZ-ICE connector (a standard pin strip header) is shown in Figure 13. You must add this connector to your target board design if you intend to use the EZ-ICE. Be sure to allow enough room in your system to fit the EZ-ICE probe onto the 14-pin connector. The 14-pin, 2-row pin strip header is keyed at the Pin 7 location--you must remove Pin 7 from the header. The pins must be 0.025 inch square and at least 0.20 inch in length. Pin spacing should be 0.1 x 0.1 inches. The pin strip header must have at least 0.15 inch clearance on all sides to accept the EZ-ICE probe plug. Pin strip headers are available from vendors such as 3M, McKenzie and Samtec.
Target Memory Interface
Note: If your target does not meet the worst case chip specification for memory access parameters, you may not be able to emulate your circuitry at the desired CLKIN frequency. Depending on the severity of the specification violation, you may have trouble manufacturing your system as processor components statistically vary in switching characteristic and timing requirements within published limits. Restriction: All memory strobe signals on the ADSP-21mod870 (RD, WR, PMS, DMS, BMS, CMS and IOMS) used in your target system must have 10 k pull-up resistors connected when the EZ-ICE is being used. The pull-up resistors are necessary because there are no internal pull-ups to guarantee their state during prolonged three-state conditions resulting from typical EZ-ICE debugging sessions. These resistors may be removed at your option when the EZ-ICE is not being used.
Target System Interface Signals
When the EZ-ICE board is installed, the performance on some system signals changes. Design your system to be compatible with the following system interface signal changes introduced by the EZ-ICE board: * EZ-ICE emulation introduces an 8 ns propagation delay between your target circuitry and the processor on the RESET signal. * EZ-ICE emulation introduces an 8 ns propagation delay between your target circuitry and the processor on the BR signal. * EZ-ICE emulation ignores RESET and BR when singlestepping. * EZ-ICE emulation ignores RESET and BR when in Emulator Space (processor halted). * EZ-ICE emulation ignores the state of target BR in certain modes. As a result, the target system may take control of the processor's external memory bus only if bus grant (BG) is asserted by the EZ-ICE board's processor.
For your target system to be compatible with the EZ-ICE emulator, it must comply with the memory interface guidelines listed below.
1 GND 3
EBG
2 BG 4 BR 6
EINT
5
EBR
7
8
ELIN
KEY (NO PIN)
9
ELOUT
10
ECLK
11
EE
12
EMS
13 RESET
14
ERESET
TOP VIEW
Figure 13. Target Board Connector for EZ-ICE
PM, DM, BM, IOM and CM
Design your Program Memory (PM), Data Memory (DM), Byte Memory (BM), I/O Memory (IOM), and Composite Memory (CM) external interfaces to comply with worst case device timing requirements and switching characteristics as specified in this data sheet. The performance of the EZ-ICE may approach published worst case specification for some memory access timing requirements and switching characteristics.
-14-
REV. 0
SPECIFICATIONS
RECOMMENDED OPERATING CONDITIONS
K Grade Parameter VDD TAMB Min 3.15 0 Max 3.45 +70
ADSP-21mod870
Unit V C
ELECTRICAL CHARACTERISTICS
Parameter VIH VIH VIL VOH Hi-Level Input Voltage Hi-Level CLKIN Voltage Lo-Level Input Voltage1, 3 Hi-Level Output Voltage1, 4, 5
1, 2
Test Conditions @ VDD = max @ VDD = max @ VDD = min @ VDD = min IOH = -0.5 mA @ VDD = min IOH = -100 A6 @ VDD = min IOL = 2 mA @ VDD = max VIN = VDDmax @ VDD = max VIN = 0 V @ VDD = max VIN = VDDmax8 @ VDD = max VIN = 0 V8, tCK = 25 ns @ VDD = 3.3 tCK = 19 ns10 tCK = 25 ns10 tCK = 30 ns10 @ VDD = 3.3 TAMB = +25C tCK = 19 ns10 tCK = 25 ns10 tCK = 30 ns10 @ VIN = 2.5 V, fIN = 1.0 MHz, TAMB = +25C @ VIN = 2.5 V, fIN = 1.0 MHz, TAMB = +25C
Min 2.0 2.2
K/B Grades Typ Max
Unit V V V V V
0.8 2.4 VDD - 0.3 0.4 10 10 10 10 10 8 7
VOL IIH IIL IOZH IOZL IDD
Lo-Level Output Voltage1, 4, 5 Hi-Level Input Current3 Lo-Level Input Current3 Three-State Leakage Current7 Three-State Leakage Current7 Supply Current (Idle)9
A A A A A mA mA mA
IDD
Supply Current (Dynamic)11
51 41 34 8
mA mA mA pF
CI CO
Input Pin Capacitance3, 6, 12 Output Pin Capacitance6, 7, 12, 13
8
pF
NOTES 1 Bidirectional pins: D0-D23, RFS0, RFS1, SCLK0, SCLK1, TFS0, TFS1, A1-A13, PF0-PF7. 2 Input only pins: RESET, BR, DR0, DR1, PWD. 3 Input only pins: CLKIN, RESET, BR, DR0, DR1, PWD. 4 Output pins: BG, PMS, DMS, BMS, IOMS, CMS, RD, WR, PWDACK, A0, DT0, DT1, CLKOUT, FL2-0, BGH. 5 Although specified for TTL outputs, all ADSP-21mod870 outputs are CMOS-compatible and will drive to V DD and GND, assuming no dc loads. 6 Guaranteed but not tested. 7 Three-statable pins: A0-A13, D0-D23, PMS, DMS, BMS, IOMS, CMS, RD, WR, DT0, DT1, SCLK0, SCLK1, TFS0, TFS1, RFS0, RSF1, PF0-PF7. 8 0 V on BR. 9 Idle refers to ADSP-21mod870 state of operation during execution of IDLE instruction. Deasserted pins are driven to either V DD or GND. 10 VIN = 0 V and 3 V. For typical figures for supply currents, refer to Power Dissipation section. 11 IDD measurement taken with all instructions executing from internal memory. 50% of the instructions are multifunction (types 1, 4, 5, 12, 13, 14), 30% are type 2 and type 6, and 20% are idle instructions. 12 Applies to LQFP package type. 13 Output pin capacitance is the capacitive load for any three-stated output pin. Specifications subject to change without notice.
REV. 0
-15-
ADSP-21mod870
ABSOLUTE MAXIMUM RATINGS*
Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . -0.3 V to +4.6 V Input Voltage . . . . . . . . . . . . . . . . . . . . -0.5 V to VDD + 0.5 V Output Voltage Swing . . . . . . . . . . . . . -0.5 V to VDD + 0.5 V Operating Temperature Range (Ambient) . . -40C to +85C Storage Temperature Range . . . . . . . . . . . . -65C to +150C Lead Temperature (5 sec) LQFP . . . . . . . . . . . . . . . . +280C
*Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only; functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Memory Device Specification Address Setup to Write Start Address Setup to Write End Address Hold Time Data Setup Time
ADSP21mod870 Timing Parameter tASW tAW tWRA tDW tDH tRDD tAA
Timing Parameter Definition A0-A13, xMS Setup before WR Low A0-A13, xMS Setup before WR Deasserted A0-A13, xMS Hold before WR Low Data Setup before WR High Data Hold after WR High RD Low to Data Valid A0-A13, xMS to Data Valid
TIMING PARAMETERS
GENERAL NOTES
Use the exact timing information given. Do not attempt to derive parameters from the addition or subtraction of others. While addition or subtraction would yield meaningful results for an individual device, the values given in this data sheet reflect statistical variations and worst cases. Consequently, you cannot meaningfully add up parameters to derive longer times.
TIMING NOTES
Data Hold Time OE to Data Valid Address Access Time
Note: xMS = PMS, DMS, BMS, CMS, IOMS.
FREQUENCY DEPENDENCY FOR TIMING SPECIFICATIONS
Switching characteristics specify how the processor changes its signals. You have no control over this timing--circuitry external to the processor must be designed for compatibility with these signal characteristics. Switching characteristics tell you what the processor will do in a given circumstance. You can also use switching characteristics to ensure that any timing requirement of a device connected to the processor (such as memory) is satisfied. Timing requirements apply to signals that are controlled by circuitry external to the processor, such as the data input for a read operation. Timing requirements guarantee that the processor operates correctly with other devices.
MEMORY TIMING SPECIFICATIONS
tCK is defined as 0.5 tCKI. The ADSP-21mod870 uses an input clock with a frequency equal to half the instruction rate: a 26 MHz input clock (which is equivalent to 38 ns) yields a 19 ns processor cycle (equivalent to 52 MHz). tCK values within the range of 0.5 tCKI period should be substituted for all relevant timing parameters to obtain the specification value. Example: tCKH = 0.5 tCK - 7 ns = 0.5 (19 ns) - 7 ns = 2.5 ns
ENVIRONMENTAL CONDITIONS
Ambient Temperature Rating: TAMB TCASE PD CA JA JC Package LQFP = = = = = = TCASE - (PD x CA) Case Temperature in C Power Dissipation in W Thermal Resistance (Case-to-Ambient) Thermal Resistance (Junction-to-Ambient) Thermal Resistance (Junction-to-Case)
The table below shows common memory device specifications and the corresponding ADSP-21mod870 timing parameter.
JA
JC
CA
50C/W
2C/W
48C/W
ESD SENSITIVITY The ADSP-21mod870 is an ESD (electrostatic discharge) sensitive device. Electrostatic charges readily accumulate on the human body and equipment and can discharge without detection. Permanent damage may occur to devices subjected to high energy electrostatic discharges. The ADSP-21mod870 features proprietary ESD protection circuitry to dissipate high energy discharges (Human Body Model) per method 3015 of MIL-STD-883. Proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Unused devices must be stored in conductive foam or shunts, and the foam should be discharged to the destination before devices are removed.
WARNING!
ESD SENSITIVE DEVICE
-16-
REV. 0
ADSP-21mod870
OUTPUT DRIVE CURRENTS
Figure 14 shows typical I-V characteristics for the output drivers of the ADSP-21mod870. The curves represent the current drive capability of the output drivers as a function of output voltage.
80
250
21mod870 POWER, INTERNAL1, 3, 4
216mW
200 VDD = 3.6V 150 144mW 112.2mW 100 VDD = 3.0V 87mW 50 VDD = 3.3V 168.3mW 132mW
60
3.6V, -40C
SOURCE CURRENT - mA
40 20 0 -20 3.0V, +85C -40 -60 3.6V, -40C -80 0 0.5 1.0 1.5 2.0 2.5 SOURCE VOLTAGE - V 3.0 3.5 4.0 3.0V, +85C 3.3V, +25C
0 33.3
1/tCK - MHz
52
45 40 3.3V, +25C 35
POWER, IDLE1, 2, 3
35mW VDD = 3.3V VDD = 3.6V 32mW 30mW
30 25mW 25 20 15 10 23mW 21mW
VDD = 3.0V
Figure 14. Typical Drive Currents
POWER DISSIPATION
5 0 33.3 52
To determine total power dissipation in a specific application, the following equation should be applied for each output: C x VDD x f
2
1/fCK - MHz
C = load capacitance, f = output switching frequency.
Example
45 40 35 30 25 20 15 10 5 0 33.3
POWER, IDLE n MODES3
In an application where external data memory is used and no other outputs are active, power dissipation is calculated as follows: Assumptions * External data memory is accessed every cycle with 50% of the address pins switching. * External data memory writes occur every other cycle with 50% of the data pins switching. * Each address and data pin has a 10 pF total load at the pin. * The application operates at VDD = 3.3 V and tCK = 30 ns. Total Power Dissipation = PINT + (C x VDD2 x f) PINT = internal power dissipation from Power vs. Frequency graph (Figure 15). (C x VDD2 x f) is calculated for each output:
# of Pins Address, DMS Data Output, WR RD CLKOUT 8 9 1 1 C x 10 pF x 10 pF x 10 pF x 10 pF VDD2 x 3.32 V x 3.32 V x 3.32 V x 3.32 V f x 33.32 MHz = x 16.67 MHz = x 16.67 MHz = x 33.3 MHz = 29.0 mW 16.3 mW 1.8 mW 3.6 mW 50.7 mW
32mW
IDLE
23mW 13mW 10mW 12mW 9mW
IDLE (16) IDLE (128)
52 1/fCK - MHz
VALID FOR ALL TEMPERATURE GRADES. 1POWER REFLECTS DEVICE OPERATING WITH NO OUTPUT LOADS. 2IDLE REFERS TO ADSP-21mod870 STATE OF OPERATION DURING EXECUTION OF IDLE INSTRUCTION. DEASSERTED PINS ARE DRIVEN TO EITHER VDD OR GND. 3TYPICAL POWER DISSIPATION AT 3.3V V DD AND +25 C, EXCEPT WHERE SPECIFIED.
4I DD
MEASUREMENT TAKEN WITH ALL INSTRUCTIONS EXECUTING FROM INTERNAL
MEMORY. 50% OF THE INSTRUCTIONS ARE MULTIFUNCTION (TYPES 1, 4, 5, 12, 13, 14), 30% ARE TYPE 2 AND TYPE 6, AND 20% ARE IDLE INSTRUCTIONS.
Figure 15. Power vs. Frequency
Total power dissipation for this example is PINT + 50.7 mW.
REV. 0
-17-
ADSP-21mod870
CAPACITIVE LOADING
Figures 16 and 17 show the capacitive loading characteristics of the ADSP-21mod870. from which
18 16 T = +85 C VDD = 30V
t DECAY =
CL x 0.5V iL
tDIS = tMEASURED - tDECAY is calculated. If multiple pins (such as the data bus) are disabled, the measurement value is that of the last pin to stop driving.
Output Enable Time
RISE TIME (0.4V - 2.4V) - ns
14 12 10 8 6 4 2 0 0 50 100 150 CL - pF 200 250
Output pins are considered to be enabled when they have made a transition from a high-impedance state to when they start driving. The output enable time (tENA) is the interval from when a reference signal reaches a high or low voltage level to when the output has reached a specified high or low trip point, see Figure 19. If multiple pins (such as the data bus) are enabled, the measurement value is that of the first pin to start driving. Figure 20 shows the equivalent device loading for ac measurements.
REFERENCE SIGNAL
Figure 16. Typical Output Rise Time vs. Load Capacitance, CL (at Maximum Ambient Operating Temperature)
10 9 8 VALID OUTPUT DELAY OR HOLD - ns 7 6 5 4 3 2 1
tMEASURED tENA
VOH (MEASURED) OUTPUT VOL (MEASURED)
tDIS
VOH (MEASURED) - 0.5V VOL (MEASURED) +0.5V 2.0V 1.0V
VOH (MEASURED)
tDECAY
OUTPUT STOPS DRIVING
VOL (MEASURED) OUTPUT STARTS DRIVING
NOMINAL -1 -2 -3 -4 0 20 40 60 80 100 120 CL - pF 140 160 180 20.0
HIGH-IMPEDANCE STATE. TEST CONDITIONS CAUSE THIS VOLTAGE LEVEL TO BE APPROXIMATELY 1.5V.
Figure 19. Output Enable/Disable
IOL
Figure 17. Typical Output Valid Delay or Hold vs. Load Capacitance, CL (at Maximum Ambient Operating Temperature)
INPUT OR OUTPUT
TO OUTPUT PIN
+1.5V 50pF
1.5V
1.5V
IOH
Figure 18. Voltage Reference Levels for AC Measurements (Except Output Enable/Disable)
TEST CONDITIONS Output Disable Time
Figure 20. Equivalent Device Loading for AC Measurements (Including All Fixtures)
Output pins are considered to be disabled when they have stopped driving and started a transition from the measured output high or low voltage to a high impedance state. The output disable time (tDIS) is the difference of tMEASURED and tDECAY. The time is the interval from when a reference signal reaches a high or low voltage level to when the output voltages have changed by 0.5 V from the measured output high or low voltage, see Figure 19. The decay time, tDECAY, is dependent on the capacitive load, CL, and the current load, iL, on the output pin. It can be approximated by the following equation:
-18-
REV. 0
ADSP-21mod870 TIMING PARAMETERS
Parameter Clock Signals and Reset Timing Requirements: CLKIN Period tCKI tCKIL CLKIN Width Low CLKIN Width High tCKIH Switching Characteristics: tCKL CLKOUT Width Low tCKH CLKOUT Width High CLKIN High to CLKOUT High tCKOH Control Signals Timing Requirements: tRSP RESET Width Low tMS Mode Setup before RESET High tMH Mode Setup after RESET High 5 tCK1 2 5 ns ns ns 38 15 15 0.5 tCK - 7 0.5 tCK - 7 0 100 ns ns ns ns ns ns Min Max Unit
20
NOTE 1 Applies after power-up sequence is complete. Internal phase lock loop requires no more than 2000 CLKIN cycles assuming stable CLKIN (not including crystal oscillator start-up time).
tCKI tCKIH
CLKIN
tCKIL tCKOH tCKH
CLKOUT
tCKL
PF(3:0)*
tMS
RESET
tMH
tRSP *PF3 IS MODE D, PF2 IS MODE C, PF1 IS MODE B, PF0 IS MODE A
Figure 21. Clock Signals
REV. 0
-19-
ADSP-21mod870 TIMING PARAMETERS
Parameter Interrupts and Flags Timing Requirements: IRQx, FI, or PFx Setup before CLKOUT Low1, 2, 3, 4 tIFS tIFH IRQx, FI, or PFx Hold after CLKOUT High1, 2, 3, 4 Switching Characteristics: tFOH Flag Output Hold after CLKOUT Low5 tFOD Flag Output Delay from CLKOUT Low5 0.25 tCK + 15 0.25 tCK 0.25 tCK - 7 0.5 tCK + 6 ns ns ns ns Min Max Unit
NOTES 1 If IRQx and FI inputs meet tIFS and tIFH setup/hold requirements, they will be recognized during the current clock cycle; otherwise the signals will be recognized on the following cycle. (Refer to Interrupt Controller Operation in the Program Control chapter of the ADSP-2100 Family User's Manual, Third Edition, for further information on interrupt servicing.) 2 Edge-sensitive interrupts require pulsewidths greater than 10 ns; level-sensitive interrupts must be held low until serviced. 3 IRQx = IRQ0, IRQ1, IRQ2, IRQL0, IRQL1, IRQE. 4 PFx = PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7. 5 Flag outputs = PFx, FL0, FL1, FL2, Flag_out.
tFOD
CLKOUT
tFOH
FLAG OUTPUTS
tIFH
IRQx FI PFx
tIFS
Figure 22. Interrupts and Flags
-20-
REV. 0
ADSP-21mod870
Parameter Bus Request-Bus Grant Timing Requirements: tBH BR Hold after CLKOUT High1 BR Setup before CLKOUT Low1 tBS Switching Characteristics: tSD CLKOUT High to xMS, RD, WR Disable tSDB xMS, RD, WR Disable to BG Low BG High to xMS, RD, WR Enable tSE tSEC xMS, RD, WR Enable to CLKOUT High tSDBH xMS, RD, WR Disable to BGH Low2 tSEH BGH High to xMS, RD, WR Enable2 0.25 tCK + 2 0.25 tCK + 17 0.25 tCK + 10 0 0 0.25 tCK - 4 0 0 ns ns ns ns ns ns ns ns Min Max Unit
NOTES xMS = PMS, DMS, CMS, IOMS, BMS. 1 BR is an asynchronous signal. If BR meets the setup/hold requirements, it will be recognized during the current clock cycle; otherwise the signal will be recognized on the following cycle. Refer to the ADSP-2100 Family User's Manual, Third Edition, for BR/BG cycle relationships. 2 BGH is asserted when the bus is granted and the processor requires control of the bus to continue.
tBH
CLKOUT
BR
tBS
CLKOUT PMS, DMS BMS, RD WR
tSD
tSEC
BG
tSDB
tSE
BGH
tSDBH
tSEH
Figure 23. Bus Request-Bus Grant
REV. 0
-21-
ADSP-21mod870 TIMING PARAMETERS
Parameter Memory Read Timing Requirements: tRDD RD Low to Data Valid tAA A0-A13, xMS to Data Valid tRDH Data Hold from RD High Switching Characteristics: tRP RD Pulsewidth tCRD CLKOUT High to RD Low tASR A0-A13, xMS Setup before RD Low A0-A13, xMS Hold after RD Deasserted tRDA tRWR RD High to RD or WR Low
w = wait states x tCK. xMS = PMS, DMS, CMS, IOMS, BMS.
Min
Max
Unit
0.5 tCK - 9 + w 0.75 tCK - 12.5 + w 0 0.5 tCK - 5 + w 0.25 tCK - 5 0.25 tCK - 6 0.25 tCK - 3 0.5 tCK - 5
ns ns ns ns ns ns ns ns
0.25 tCK + 7
CLKOUT
A0 - A13 DMS, PMS, BMS, IOMS, CMS
tRDA
RD
tASR tCRD
D
tRP
tRWR
tRDD tAA
WR
tRDH
Figure 24. Memory Read
-22-
REV. 0
ADSP-21mod870
Parameter Memory Write Switching Characteristics: Data Setup before WR High tDW Data Hold after WR High tDH tWP WR Pulsewidth tWDE WR Low to Data Enabled A0-A13, xMS Setup before WR Low tASW tDDR Data Disable before WR or RD Low tCWR CLKOUT High to WR Low A0-A13, xMS, Setup before WR Deasserted tAW tWRA A0-A13, xMS Hold after WR Deasserted tWWR WR High to RD or WR Low
w = wait states x tCK. xMS = PMS, DMS, CMS, IOMS, BMS.
Min
Max
Unit
0.5 tCK - 7 + w 0.25 tCK - 2 0.5 tCK - 5 + w 0 0.25 tCK - 6 0.25 tCK - 7 0.25 tCK - 5 0.75 tCK - 9 + w 0.25 tCK - 3 0.5 tCK - 5
0.25 tCK + 7
ns ns ns ns ns ns ns ns ns ns
CLKOUT
A0-A13 DMS, PMS, BMS, CMS, IOMS
tWRA
WR
tASW tAW tCWR
D
tWP tDH
tWWR tDDR
tWDE
RD
tDW
Figure 25. Memory Write
REV. 0
-23-
ADSP-21mod870 TIMING PARAMETERS
Parameter Serial Ports Timing Requirements: tSCK SCLK Period DR/TFS/RFS Setup before SCLK Low tSCS tSCH DR/TFS/RFS Hold after SCLK Low tSCP SCLKIN Width Switching Characteristics: tCC CLKOUT High to SCLKOUT tSCDE SCLK High to DT Enable tSCDV SCLK High to DT Valid TFS/RFSOUT Hold after SCLK High tRH tRD TFS/RFSOUT Delay from SCLK High tSCDH DT Hold after SCLK High TFS (Alt) to DT Enable tTDE tTDV TFS (Alt) to DT Valid tSCDD SCLK High to DT Disable tRDV RFS (Multichannel, Frame Delay Zero) to DT Valid
CLKOUT
Min
Max
Unit
38 4 7 15 0.25 tCK 0 0 15 0 0 14 15 15 0.25 tCK + 10 15
ns ns ns ns ns ns ns ns ns ns ns ns ns ns
tCC
tCC tSCP tSCS tSCH
tSCK
SCLK
tSCP
DR TFSIN RFSIN
tRD tRH
RFSOUT TFSOUT
tSCDD tSCDV tSCDE tSCDH
DT
tTDE tTDV
TFSOUT
ALTERNATE FRAME MODE
tRDV
RFSOUT
MULTICHANNEL MODE, FRAME DELAY 0 (MFD = 0)
tTDE
tTDV
TFSIN
ALTERNATE FRAME MODE
tRDV
RFSIN
MULTICHANNEL MODE, FRAME DELAY 0 (MFD = 0)
Figure 26. Serial Ports
-24-
REV. 0
ADSP-21mod870
Parameter IDMA Address Latch Timing Requirements: Duration of Address Latch1, 2 tIALP tIASU IAD15-0 Address Setup before Address Latch End2 IAD15-0 Address Hold after Address Latch End2 tIAH tIKA IACK Low before Start of Address Latch2, 3 tIALS Start of Write or Read after Address Latch End1, 2 tIALD Address Latch Start after Address Latch End1, 2
NOTES 1 Start of Address Latch = IS Low and IAL High. 2 End of Address Latch = IS High or IAL Low. 3 Start of Write or Read = IS Low and IWR Low or IRD Low.
IACK
Min
Max
Unit
10 5 2 0 3 2
ns ns ns ns ns ns
tIKA
IAL
tIALD tIALP tIALP
IS
IAD15-0
tIASU
tIAH
tIASU
tIAH tIALS
IRD OR IWR
Figure 27. IDMA Address Latch
REV. 0
-25-
ADSP-21mod870 TIMING PARAMETERS
Parameter IDMA Write, Short Write Cycle Timing Requirements: tIKW IACK Low before Start of Write1 tIWP Duration of Write1, 2 IAD15-0 Data Setup before End of Write2, 3, 4 tIDSU tIDH IAD15-0 Data Hold after End of Write2, 3, 4 Switching Characteristics: tIKHW Start of Write to IACK High
NOTES 1 Start of Write = IS Low and IWR Low. 2 End of Write = IS High or IWR High. 3 If Write Pulse ends before IACK Low, use specifications t IDSU, tIDH. 4 If Write Pulse ends after IACK Low, use specifications t IKSU, tIKH.
Min
Max
Unit
0 15 5 2 4 15
ns ns ns ns ns
tIKW
IACK
tIKHW
IS
tIWP
IWR
tIDSU
IAD15-0 DATA
tIDH
Figure 28. IDMA Write, Short Write Cycle
-26-
REV. 0
ADSP-21mod870
Parameter IDMA Write, Long Write Cycle Timing Requirements: tIKW IACK Low before Start of Write1 IAD15-0 Data Setup before IACK Low2, 3, 4 tIKSU tIKH IAD15-0 Data Hold after IACK Low2, 3, 4 Switching Characteristics: tIKLW Start of Write to IACK Low4 tIKHW Start of Write to IACK High 0 0.5 tCK + 10 2 1.5 tCK 4 ns ns ns ns ns Min Max Unit
15
NOTES 1 Start of Write = IS Low and IWR Low. 2 If Write Pulse ends before IACK Low, use specifications t IDSU, tIDH. 3 If Write Pulse ends after IACK Low, use specifications t IKSU, tIKH. 4 This is the earliest time for IACK Low from Start of Write. For IDMA Write cycle relationships, please refer to the ADSP-2100 Family User's Manual, Third Edition.
tIKW
IACK
tIKHW tIKLW
IS
IWR
tIKSU
IAD15-0 DATA
tIKH
Figure 29. IDMA Write, Long Write Cycle
REV. 0
-27-
ADSP-21mod870
Parameter IDMA Read, Short Read Cycle Timing Requirements: tIKR IACK Low before Start of Read1 tIRP Duration of Read Switching Characteristics: tIKHR IACK High after Start of Read1 tIKDH IAD15-0 Data Hold after End of Read2 tIKDD IAD15-0 Data Disabled after End of Read2 IAD15-0 Previous Data Enabled after Start of Read tIRDE tIRDV IAD15-0 Previous Data Valid after Start of Read
NOTES 1 Start of Read = IS Low and IRD Low. 2 End of Read = IS High or IRD High.
Min
Max
Unit
0 15 4 0 0 10 15 10
ns ns ns ns ns ns ns
IACK
tIKR tIKHR
IS
IRD
tIRP tIRDE tIKDH
PREVIOUS DATA
IAD15-0
tIRDV
tIKDD
Figure 30. IDMA Read, Short Read Cycle
-28-
REV. 0
ADSP-21mod870 TIMING PARAMETERS
Parameter IDMA Read, Long Read Cycle Timing Requirements: IACK Low before Start of Read1 tIKR tIRK End of Read after IACK Low2 Switching Characteristics: tIKHR IACK High after Start of Read1 tIKDS IAD15-0 Data Setup before IACK Low tIKDH IAD15-0 Data Hold after End of Read3 tIKDD IAD15-0 Data Disabled after End of Read3 tIRDE IAD15-0 Previous Data Enabled after Start of Read tIRDV IAD15-0 Previous Data Valid after Start of Read tIRDH1 IAD15-0 Previous Data Hold after Start of Read (DM/PM1)2 tIRDH2 IAD15-0 Previous Data Hold after Start of Read (PM2)4
NOTES 1 Start of Read = IS Low and IRD Low. 2 DM read or first half of PM read. 3 End of Read = IS High or IRD High. 4 Second half of PM read.
Min
Max
Unit
0 2 4 0.5 tCK - 7 0 0 10 2 tCK - 5 tCK - 5 15
ns ns ns ns ns ns ns ns ns ns
10
IACK
tIKR
IS
tIKHR
tIRK
IRD
tIRDE
IAD15-0 PREVIOUS DATA
tIKDS
READ DATA
tIKDH
tIRDV tIRDH
tIKDD
Figure 31. IDMA Read, Long Read Cycle
REV. 0
-29-
ADSP-21mod870
100-Lead LQFP Package Pinout
94 PF0 [MODE A] 93 PF1 [MODE B] 89 PF2 [MODE C] 88 PF3 [MODE D]
100 A3/IAD2
96 PWDACK
98 A1/IAD0
99 A2/IAD1
91 PWD
95 BGH
80 GND
92 GND
90 VDD
77 D17
81 D20
78 D18
79 D19
83 D22
84 D23
76 D16
75 D15 74 D14 73 D13 72 D12 71 GND 70 D11 69 D10 68 D9 67
85 FL2
A4/IAD3 A5/IAD4 A6/IAD5 A7/IAD6 A8/IAD7 A9/IAD8 A10/IAD9 A11/IAD10
1 2
PIN 1 IDENTIFIER
GND 3
4 5 6 7 8 9
82 D21
87 FL0
86 FL1
97 A0
VDD
A12/IAD11 10 A13/IAD12 11 GND 12 CLKIN 13 XTAL 14 VDD 15 CLKOUT 16 GND 17 VDD 18 WR 19 RD 20 BMS 21 DMS 22 PMS 23 IOMS 24 CMS 25
66 GND 65 D8
ADSP-21mod870
TOP VIEW (Not to Scale)
64 D7/IWR 63 D6/IRD 62 D5/IAL 61 D4/IS 60 GND 59
VDD
58 D3/IACK 57 D2/IAD15 56 D1/IAD14 55 D0/IAD13 54 BG 53 EBG 52 BR 51 EBR
IRQ2+PF7 30
DT0 31
TFS0 32
RFS0 33
DR0 34
35
36
DT1/FO 37
TFS1/IRQ1 38
RFS1/IRQ0 39
DR1/FI 40
SCLK1 42
ERESET 43
RESET 44
IRQE+PF4 26
ECLK 47
ELOUT 48
IRQL0+PF5 27
IRQL1+PF6 29
SCLK0
EINT 50
EMS 45
EE 46
GND 41
ELIN 49
GND 28
VDD
-30-
REV. 0
ADSP-21mod870
The ADSP-21mod870 package pinout is shown in the table below. Pin names in bold text replace the plain text named functions when Mode C = 1. A + sign separates two functions when either function can be active for either major I/O mode. Signals enclosed in brackets [ ] are state bits latched from the value of the pin at the deassertion of RESET.
LQFP Pin Configurations
LQFP Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Pin Name A4/IAD3 A5/IAD4 GND A6/IAD5 A7/IAD6 A8/IAD7 A9/IAD8 A10/IAD9 A11/IAD10 A12/IAD11 A13/IAD12 GND CLKIN XTAL VDD CLKOUT GND VDD WR RD BMS DMS PMS IOMS CMS
LQFP Number 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Pin Name IRQE + PF4 IRQL0 + PF5 GND IRQL1 + PF6 IRQ2 + PF7 DT0 TFS0 RFS0 DR0 SCLK0 VDD DT1/FO TFS1/IRQ1 RFS1/IRQ0 DR1/FI GND SCLK1 ERESET RESET EMS EE ECLK ELOUT ELIN EINT
LQFP Number 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
Pin Name EBR BR EBG BG D0/IAD13 D1/IAD14 D2/IAD15 D3/IACK VDD GND D4/IS D5/IAL D6/IRD D7/IWR D8 GND VDD D9 D10 D11 GND D12 D13 D14 D15
LQFP Number 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
Pin Name D16 D17 D18 D19 GND D20 D21 D22 D23 FL2 FL1 FL0 PF3 [Mode D] PF2 [Mode C] VDD PWD GND PF1 [Mode B] PF0 [Mode A] BGH PWDACK A0 A1/IAD0 A2/IAD1 A3/IAD2
REV. 0
-31-
ADSP-21mod870
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
100-Lead Metric Thin Plastic Quad Flatpack (LQFP) (ST-100)
C3340-2-2/99
76 75 51 50
0.640 (16.25) 0.630 (16.00) TYP SQ 0.620 (15.75)
0.555 (14.10) 0.551 (14.00) TYP SQ 0.547 (13.90) 0.063 (1.60) MAX 0.030 (0.75) 0.024 (0.60) TYP 0.020 (0.50) SEATING PLANE
12 TYP
100 1
TOP VIEW
(PINS DOWN)
0.004 (0.102) MAX LEAD COPLANARITY 0 -7
25
6 4
26
0.007 (0.177) 0.005 (0.127) TYP 0.003 (0.077)
0.020 (0.50) BSC LEAD PITCH
0.011 (0.27) 0.009 (0.22) TYP 0.007 (0.17)
LEAD WIDTH NOTE: THE ACTUAL POSITION OF EACH LEAD IS WITHIN 0.0032 (0.08) FROM ITS IDEAL POSITION WHEN MEASURED IN THE LATERAL DIRECTION. CENTER FIGURES ARE TYPICAL UNLESS OTHERWISE NOTED.
ORDERING GUIDE
Part Number ADSP-21MOD870-000
Ambient Temperature Range 0C to +70C
Instruction Rate (MHz) 52.0
Package Description Plastic Thin Quad Flatpack (LQFP)
Package Option ST-100
-32-
REV. 0
PRINTED IN U.S.A.


▲Up To Search▲   

 
Price & Availability of ADSP-21MOD870-000

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X